import { EightyCopyInfoPanel } from "./EightyCopyInfoPanel";
import { SEightyCopyInfo } from "../../../../../Message/Public/SEightyCopyInfo";
//class EightyCopyView
    
    export  class EightyCopyView
    {
        

        public get infoPanel(): EightyCopyInfoPanel
        {
            if (!this._infoPanel) 
            {
                this._infoPanel = new EightyCopyInfoPanel();
            }
            return this._infoPanel;
        }

        public showInfoPanel(): void
        {
            this.infoPanel.show();
            this.infoPanel.updatePosition();
            return;
        }

        public hideInfoPanel(): void
        {
            if (this._infoPanel && !this._infoPanel.isHide) 
            {
                this._infoPanel.hide();
                this._infoPanel.clean();
            }
            return;
        }

        public updateInfoPanel(arg1: SEightyCopyInfo): void
        {
            if (this._infoPanel && !this._infoPanel.isHide && arg1) 
            {
                this._infoPanel.updateInfos(arg1);
            }
            return;
        }

        /* internal */ /* var */_infoPanel: EightyCopyInfoPanel;
    }
